/*
 * Copyright 2016 Wealth Inc. All rights reserved.
 */
 package com.wealth.bank.service;

import iaas.service.IBaseService;

import java.util.List;

import org.springframework.stereotype.Component;

import com.wealth.bank.entity.Article;

/**
 * @author chan
 * @version 1.0
 * @since 1.0
 */
 
@Component
public interface IArticleService extends IBaseService<Article>{
	
	
	/**
	 * 分页查询文章
	 * @param id
	 * @param status
	 * @param corpId
	 * @return
	 */
	public List<Article> getArticlePag(Integer id,Integer status,Long corpId);

	/**
	 * 查询某分类下文章列表
	 * @param categoryId
	 * @param status
	 * @return
	 */
	public List<Article>  getArticlePagByCategoryId(Integer id,Integer status,Long category_id,Long corpId);

	/**
	 * 查询某分类下文章列表(加载更多)
	 * @param categoryId
	 * @param status
	 * @return
	 */
	public List<Article> getArticlePagByCategoryIdMove(Integer id,Integer status,Long category_id,Long corpId);
	
}
